package com.info33.platform.business.app.dto;

import com.info33.platform.business.app.entity.AppTenantUser;
import com.info33.platform.system.dto.SysUserDTO;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.Valid;
import java.util.List;

/**
 * app - 租户 - 用户
 *
 * @author admin
 */
@Data
@EqualsAndHashCode(callSuper = true)
public class AppTenantUserDTO extends AppTenantUser {

    private static final long serialVersionUID = 1L;

    @Valid
    @ApiModelProperty(value = "用户登录信息")
    private SysUserDTO userDTO;

    @ApiModelProperty(value = "角色信息")
    private AppRoleDTO roleDTO;

    @ApiModelProperty(value = "角色 id 集合")
    private List<Long> roleIds;

    public interface PcEdit {
    }
}